More signal-handler cleanup.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 7 Sep 2012 08:46:44 +0000 (01:46 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 7 Sep 2012 08:46:44 +0000 (01:46 -0700)
commit17cd3859409bd84579123a5917cc6ea8ea11c0ae
treec6e060babe989711054c487a253fbbf1b0ca3a59
parent2686e590a9a492837f1ff01ead8863eb8bc7d785
More signal-handler cleanup.

* configure.ac (FLOAT_CHECK_DOMAIN): Comment fix (Bug#12327).
* src/floatfns.c: Comment fix.
* src/lisp.h (force_auto_save_soon): Declare regardless of SIGDANGER.
SIGDANGER might not be in scope so "#ifdef SIGDANGER" is not right,
and anyway the declaration is harmless even if SIGDANGER is not defined.
* src/syssignal.h (SIGIO): Also #undef if (! defined FIONREAD ||
defined BROKEN_FIONREAD).  systty.h formerly did this, but other
source files not surprisingly expected syssignal.h to define, or
not define, SIGIO, and it's cleaner to do it that way, for consistency.
Include <sys/ioctl.h>, for FIONREAD.
* src/systty.h (SIGIO): Do not #undef here; it's now syssignal.h's job.
This eliminates a problem whereby other files mysteriously had
to include "syssignal.h" before including "systty.h" if they
wanted to use "#ifdef SIGIO".
ChangeLog
configure.ac
src/ChangeLog
src/floatfns.c
src/lisp.h
src/syssignal.h
src/systty.h